
/**
 * Created by Administrator on 2016/7/30.
 */

$(function () {
    $('.media1-big').mouseover(function () {
       max();
    })
    $('.media1-big').mouseout(function () {
       min();
    })
    $('.media1-inner').mouseout(function () {
        //bubian();
    })
    $('.media1-inner').mouseover(function () {
        //bubian();
    })
    function max(){
        $('.media1-in img').animate({
            width:'+=134',
            height:'+=82',
            top:'-42',
            left:'-67'
        },1000 );
    }
    function min(){
        $('.media1-in img').animate({
            width:'-=134',
            height:'-=82',
            top:'0',
            left:'0'
        },1000 );
    }
    function bubian(){
        $('.media1-in img').animate({
            width:'-=0',
            height:'-=0',
            top:'+=0',
            left:'+=0'
        } );
    }
})